package com.mine.ability.services.impl;

import com.mine.ability.dao.EmployeeDao;
import com.mine.ability.model.Employee;
import com.mine.ability.services.EmployService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @功能
 * @创建时间 2020/4/13
 */
@Service
public class EmployServiceImpl implements EmployService {
    @Autowired
    private EmployeeDao employeeDao;

    @Override
    public Employee findById(Integer id) {
        return employeeDao.findById(id).get();
    }
}
